package com.peas.platform.module.icims.expenditure.expenses.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.expenditure.expenses.adapter.repository.ExpenditureReimbursementAbroadRepository;
import com.peas.platform.module.icims.expenditure.expenses.adapter.repository.po.ExpenditureReimbursementAbroadPo;
import com.peas.platform.module.icims.expenditure.expenses.domain.ExpenditureReimbursementAbroadDomain;
import com.peas.platform.module.icims.expenditure.expenses.dto.ExpenditureReimbursementAbroadDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ExpenditureReimbursementAbroadDomainImpl extends BaseDomainImpl<ExpenditureReimbursementAbroadDto, ExpenditureReimbursementAbroadPo> implements ExpenditureReimbursementAbroadDomain {

    @Resource
    private ExpenditureReimbursementAbroadRepository expenditureReimbursementAbroadRepository;

    @Override
    public BaseRepository<ExpenditureReimbursementAbroadPo> getMapper() {
        return expenditureReimbursementAbroadRepository;
    }

    @Override
    public Class<? extends BaseRepository<ExpenditureReimbursementAbroadPo>> getRepositoryClass() {
        return ExpenditureReimbursementAbroadRepository.class;
    }

}
